package o;

import java.lang.reflect.InvocationTargetException;

public enum bam {
    INSTANCE;

    public azq ˋ(String str) {
        azq o_azq;
        InstantiationException e;
        IllegalAccessException e2;
        InvocationTargetException e3;
        NoSuchMethodException e4;
        Class ˎ = ban.ˎ(str);
        if (ˎ == null) {
            return null;
        }
        try {
            o_azq = (azq) ˎ.getConstructor(new Class[0]).newInstance(new Object[0]);
            try {
                o_azq.ʼ(str);
                return o_azq;
            } catch (InstantiationException e5) {
                e = e5;
            } catch (IllegalAccessException e6) {
                e2 = e6;
                azh.ˏ.ˊ("WebViewFactory", e2.toString());
                return o_azq;
            } catch (InvocationTargetException e7) {
                e3 = e7;
                azh.ˏ.ˊ("WebViewFactory", e3.toString());
                return o_azq;
            } catch (NoSuchMethodException e8) {
                e4 = e8;
                azh.ˏ.ˊ("WebViewFactory", e4.toString());
                return o_azq;
            }
        } catch (InstantiationException e9) {
            InstantiationException instantiationException = e9;
            o_azq = null;
            e = instantiationException;
            azh.ˏ.ˊ("WebViewFactory", e.toString());
            return o_azq;
        } catch (IllegalAccessException e10) {
            IllegalAccessException illegalAccessException = e10;
            o_azq = null;
            e2 = illegalAccessException;
            azh.ˏ.ˊ("WebViewFactory", e2.toString());
            return o_azq;
        } catch (InvocationTargetException e11) {
            InvocationTargetException invocationTargetException = e11;
            o_azq = null;
            e3 = invocationTargetException;
            azh.ˏ.ˊ("WebViewFactory", e3.toString());
            return o_azq;
        } catch (NoSuchMethodException e12) {
            NoSuchMethodException noSuchMethodException = e12;
            o_azq = null;
            e4 = noSuchMethodException;
            azh.ˏ.ˊ("WebViewFactory", e4.toString());
            return o_azq;
        }
    }

    public void ˋ(String str, Class<? extends azq> cls) {
        ban.ˋ(str, cls);
    }
}
